<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

    <div class="section">
      <form:form id="person" modelAttribute="person" action="edit" method="get">
        <h2>User details</h2>
        <fieldset>
          <div class="field">
            <div class="label">Name:</div>
            <div class="output">${person.name}</div>
          </div>
          <div class="field">
            <div class="label">Username:</div>
            <div class="output">${person.user.username}</div>
          </div>
          <div class="field">
            <div class="label">Password:</div>
            <div class="output">**********</div>
          </div>
          <input type="hidden" name="id" value="${person.id}" />
          <div class="buttonGroup">
            <input type="submit" value="Edit"/>&#160;
          </div>
        </fieldset>
      </form:form>
    </div>
